package com.atguign.gulimall.order.feign;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @program: gulimall
 * @description: 会员
 * @author: liuxvru
 * @create: 2024-02-19 17:30
 **/
@FeignClient("gulimall-member")
public interface MemberFeifnService {
    @GetMapping("/member/memberreceiveaddress/{memberId}/address")
    R list(@PathVariable("memberId") Long memberId);


    @RequestMapping("/member/member/integration/{id}")
    //@RequiresPermissions("member:member:info")
    R integration(@PathVariable("id") Long id);
}
